<script setup>
import { inject } from 'vue'
const themeColor = inject('theme-color')
const count = inject('count')

const changeCount = inject('changeCount')
const clickFn = () => {
   changeCount(10000000)
}

</script>


<template>
    <div>
        <h3>我是底部组件 - {{ themeColor }} - {{ count }}</h3>

        <button @click="clickFn">更新count</button>
        </div>
</template>